package com.jright.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jright.po.Student;

public interface StudentDao {

	public Student findStudent(@Param("no")String no, @Param("password")String password);
	
	public Student findStudentByNo(String no);
	
	public Student findStudentByTopicId(Integer topic_id);
	
	public Student wetherSelected(String no);
	
	public int selectTopic(@Param("topic_id")Integer topic_id,@Param("no")String no);
	
	public String findTeacherNo(String no);
	
	public List<Student> findStudentByTeacherNo(String teacher_no);
	
	public int updateStudentStatus(@Param("status")String status, @Param("no")String no);
	
	public int updateStudentTeacher(@Param("teacher_no")String teacher_no, @Param("no")String no);
	
	public List<String> findNoTeacherStudentNo();
	
	public int wetherAllSelect(String teacher_no);
	
	public List<Integer> findStudentTopicId(String teacher_no);
	
}
